Pet Store Web Service
GetgetPetById
Pet Store Web Service > Everything about your Pets Resource Group : getPetById (Get)

Resource Path: /pet/{petId}

Description
Find pet by ID
Parameters
NameDescriptionData Type
ID of pet to returninteger
Response

The response body is of type Pet.

successful operation

Overview

Pet
Represents a single Pet in the Store.
id : integer
Unique identifier for this pet.
category : Category
Pet category.
id : integer
Unique identifier for this category.
name : string
Category Name.
name : string
Pet Name.
photoUrls : Array[string]
Photo Urls.
tags : Array[Tag]
Tags currently applied to this Pet.
id : integer
Unique identifier for this tag.
name : string
Tag Name.
status : string
Pet Status.
Fault Responses
FaultDescription
Invalid ID supplied
Pet not found
See Also
Everything about your Pets Resource GroupPet Store Web Service